package com.hzb.springcloud.alibaba.domain;

import lombok.Data;

import java.math.BigDecimal;

/**
 * description: Account <br>
 * date: 2020/8/19 17:44 <br>
 * author: huangZB <br>
 * version: 1.0 <br>
 */
@Data
public class Account {

    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 总额度
     */
    private BigDecimal total;

    /**
     * 已用额度
     */
    private BigDecimal used;

    /**
     * 剩余额度
     */
    private BigDecimal residue;

}
